<div class="navbar navbar-fixed-top navbar-inverse">
  <div class="navbar-inner">
    <div class="container">
      <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
      <a class="brand" href="/"><img src="/images/logo-white.png"></a>
      <div class="nav-collapse collapse">
        <ul class="nav"> 
       <*foreach from=$menuarray item=item key=key*>    
          
          <li class="dropdown <*if $activefather==$key*>active<*/if*>"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><*$item*>
          <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> 
                <!-- <*eval var=$item.photosetid assign="id"*>-->
                 <*foreach from=$menusonss.$key item=a key=k*>  
                     <li><a href="<*$a.menu_en*>" > <*$a.menu*></a></li>
                 <*/foreach*>  
                </ul>
          </li> 
          
     <*/foreach*>  
        </ul>
      </div>
       
      <div class="pull-right nav-collapse collapse"> 
       <ul class="nav"> 
        <li class="dropdown">
          <a href="#" class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i> <*$_user->nickname*><span class="caret"></span></a>
        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
          <li><a href="/admin/info" ><i class="icon-user"></i> 个人信息</a></li>
          <li><a href="/login/out"><i class="icon-off"></i> 退出</a></li>
        </ul>  
       </li>
       <li class="dropdown text-center"> 
       <a  href="/letter/index"><i class="icon-envelope icon-white"></i></a>  
       </li>
       </ul>
       </div> 
    </div>
  </div>
</div>
<div class="main container">
 
 <h2><*$controller*>_<*$action*> </h2>
 